package com.neutech.player;

import java.awt.Graphics;
import java.awt.Image;

import com.neutech.constant.Constant;

public class DownPencil extends Pencil{
	public DownPencil() {
	}
	
	public DownPencil(Image image,int top) {	
		super(Constant.WINDOW_WIDTH, top + Constant.PENCIL_GAP,image.getWidth(null), image.getHeight(null),0, 0, image.getWidth(null), image.getHeight(null), image);
	}
	
	@Override
	public void draw(Graphics g) {
		g.drawImage(getImage(),getX(), getY(), null);
	}
}
